"""
@author:menglei
@desc:商品图片上传接口
"""
from pdd.api.base import RestApi


class PddGoodsImageUploadRequest(RestApi):
    """
    @:param: image:STRING:支持格式有：jpg/jpeg、png等图片格式，注意入参图片必须转码为base64编码
    """
    def __init__(self,domain='https://gw-api.pinduoduo.com'):
        RestApi.__init__(self, domain)
        self.image = None

    def getapiname(self):
        return 'pdd.goods.image.upload'